<template>
  <div class="cursor-pointer p-10 h-10 border-10">child1 page</div>
  <el-button type="primary">按钮</el-button>
</template>

<script setup>
// import { useRoute, useRouter } from 'vue-router';

// const router = useRouter();

// const route = useRoute();

// if (route.meta?.parent) {
//   console.log('路由为：', route.meta.parent);
// } else {
//   console.log('路由为：', route.path);
// }
</script>
